<?php
			
			preg_match("/<div class=\"authi xg1\">(.*)<\/div>/smUi",$tempnr, $matches); 
			$authi = $matches[1];
			preg_match("/访问数?：([0-9]*?)/Uisx",$tempnr, $matches); 
			$pageinfo['views'] = $matches[1];
			
			preg_match("/回复数?：([0-9]*?)/Uisx",$tempnr, $matches);
			$pageinfo['replies'] = $matches[1];
			
			preg_match("/发表日期：([^<>]*)<\/div>/smUi",$tempnr, $matches);
		    $pageinfo['dateline'] = $matches[1];
		    

			preg_match("/var\s*firstAuthor\s*=\s*\"([^<>]*)\";/i",$tempnr, $matches);

		    $pageinfo['author'] = $matches[1];
			
			
			preg_match("/<div\s*class=\"item\">\s*<div\s*class=\"vcard\"><span\s*class=\"floor\">楼主<\/span>.*<\/div>\s*<div\s*class=\"post\"\s*_app=\"eleshare\">(.*)<div\s*class=\"post\-jb\">\s*<input\s*type=\"hidden\"\s*value=\"[0-9]+\"\s*\/>\s*<\/div>/Uisx",$tempnr, $matches2);
			
			$textarea = addslashes($matches2[1]); 
     

?>